﻿namespace HiMap.Carto.Render
{
    using HiMap.Base;
    using HiMap.Carto;
    using HiMap.Style;
    using System;
    using System.Text;

    public interface IFeatureLayerGroupRender : IFeatureLayerRender, IHiMapPtr
    {
        void AddGroupValue(StringBuilder GroupValue);
        bool deleteGroupValue(string GroupValue);
        string GetGroupValue(int nValue);
        int GetGroupValueIndex(string ValueString);
        IPointStyle GetPointStyle(StringBuilder GroupValue);
        IPolygonStyle GetPolygonStyle(StringBuilder GroupValue);
        IPolylineStyle GetPolylineStyle(StringBuilder GroupValue);
        bool SetPointStyle(StringBuilder GroupValue, IPointStyle PointStyle);
        bool SetPolylineStyle(StringBuilder GroupValue, IPolylineStyle PolylineStyle);

        IPointStyle DefaultPointStyle { get; set; }

        IPolygonStyle DefaultPolygonStyle { get; }

        IPolylineStyle DefaultPolylineStyle { get; set; }

        int FieldIndex { get; }

        int GroupValueCount { get; }
    }
}

